package com.zlll.winner.mapper.activity;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zlll.winner.business.model.activity.ActivityManagement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlll.winner.business.vo.activity.ActivityListVo;
import com.zlll.winner.business.vo.activity.ActivityVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qsx
 * @since 2019-09-16
 */
public interface ActivityManagementMapper extends BaseMapper<ActivityManagement> {
    List<ActivityVo> getActivityByPage(@Param("title") String title,@Param("cityCode") String cityCode,@Param("status") Integer status,@Param("startTime") Long startTime,@Param("endTime") Long endTime, IPage<ActivityVo> page);
    List<ActivityListVo> getActivityByCondition(@Param("cityCode")String cityCode, IPage<ActivityListVo> page);

    List<ActivityManagement> getTodayList();

}

